
#ifndef  __REGESTER_H__
#define  __REGESTER_H__

#include "typedef.h"
#include "Queue.h"

extern uint8 g_LocalIpmbAddress;
extern uint8 g_LocalLun;
extern uint8 g_SiteNumber;
extern uint8 g_HotSwapState;
extern uint8 g_ResetState;
extern uint8 g_EkState;

extern uint8 g_RemoteIpmbAddress;
extern uint8 g_RemoteLun;

extern uint32 g_FruReadCounter;
extern uint32 g_ConfigReadCounter;

extern uint8 g_Temperature[4];
extern uint8 gTestSimultePortState;
extern uint32 WDMOD;

//IPMB-0
extern Queue	m_Ipmi0ReceiveDataQueue;
extern uint8	m_Ipmb_0_BusState;
extern Queue	m_Ipmi0SendDataQueue;
extern Queue	m_Ipmi0EventQueue;
//End

void Uint32Set(uint32* pAddr, uint32 value, uint32 mask);
void Regester_WatchDogReset();
void Regester_ResetAll();

#ifdef _cplusplus
}
#endif

#endif 

